<script type="text/javascript">
function viewAddPage(id){
	if(id!=null){
        _tabs.showPage("information",null,'ID=' + id,null);
    }else {
        _tabs.showPage("information",null,null,null);
    }
}

function onDelete(rows){
	CommonUtil.del(rows, "id", "${basePath}/sys/info/deleteInfo",null,function(){
    	_tabs.showPage("list");
    });
}

function addClick(){
	_tabs.showPage("information",null,null,null);
}

function delRows(id){
	CommonUtil.del(null,id,"${basePath}/sys/info/deleteInfo",null,function(){
        _tabs.showPage("list");
    });
}

</script>
<div class="box">
	<div class="box-body">
		<div class="row marginZero">
				<epoch:table id="sysLogTable"
				                 queryUrl="${basePath}/sys/log/findListAjax" rowId="id"
				                 showRefresh="true" newBtn="false" delBtn="false" defTipColHead="true" autoAdjustWidth="false">
				        <epoch:tr name="业务单据" formName="BUSSINESS_NUMBER" width="160">
				            <a href="javascript:void(0);" onclick="showInfo('~{row.id}')">~{value}</a>
				        </epoch:tr>
				        <epoch:tr name="系统模块" formName="MODULE_CODE" width="150" filterType="select"
				               filterData="${lisFun.dictForFilter('PUB_SYS_MODULE')}"></epoch:tr>
				        <epoch:tr name="菜单名称" formName="MENU_DESC" width="180"></epoch:tr>
				        <epoch:tr name="用户名" formName="USER_NAME" width="200"></epoch:tr>
				        <epoch:tr name="员工编号" formName="EMPLOYEE_NO" width="280"></epoch:tr>
				        <epoch:tr name="部门" formName="USER_DEPT_DESC" width="280"></epoch:tr>
				        <epoch:tr name="操作类型" formName="OPERATION_TYPE_ID" width="80" filterType="select"
				               filterData="${lisFun.dictForFilter('SYS_LOG_TYPE')}"></epoch:tr>
				        <epoch:tr name="状态" formName="LOGIN_STATUS" filterType="select" width="120"
				               filterData="${lisFun.dictForFilter('PUB_SUCESS_FAIL')}"></epoch:tr>
				        <epoch:tr name="访问IP" formName="LOGIN_IP" width="120"></epoch:tr>
				        <epoch:tr name="操作描述" formName="OPERATION_NOTE" formatter="formatterWord" width="160"></epoch:tr>
				        <epoch:tr name="创建时间" formName="CREATED_DATE" width="120" filterType="date"></epoch:tr>
				        <epoch:tr name="登入时间" formName="LOGIN_DATE" width="120" filterType="date"></epoch:tr>
				        <epoch:tr name="登出时间" formName="LOOUT_DATE" width="300" filterType="date"></epoch:tr>
				        <epoch:tr name="操作" switchable="false"
				               width="30">
				            <i class="fa fa-info-circle" aria-hidden="true" title="详情" onclick="getLogById('~{row.id}')"></i>
				        </epoch:tr>
			 </epoch:table>
		</div>
	</div>
</div>